package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * VmtList entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "vmt_list", catalog = "imcdbserver", uniqueConstraints = @UniqueConstraint(columnNames = "title"))
public class VmtList implements java.io.Serializable {

	// Fields

	private Integer mtId;
	private String title;
	private short status;
	private Integer maxMember;
	private Integer accessPower;
	private String note;
	private String bulletin;
	private String bulletinType;
	private long createTime;
	private long modifyTime;
	private long latestTime;
	private String encodeStandard;
	private Integer flags;
	private String passwd;
	private String extend;
	private Integer corpId;

	// Constructors

	/** default constructor */
	public VmtList() {
	}

	/** minimal constructor */
	public VmtList(String title, short status, Integer maxMember,
			Integer accessPower, String note, long createTime, long modifyTime,
			long latestTime, String encodeStandard, Integer flags,
			String passwd, String extend, Integer corpId) {
		this.title = title;
		this.status = status;
		this.maxMember = maxMember;
		this.accessPower = accessPower;
		this.note = note;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
		this.latestTime = latestTime;
		this.encodeStandard = encodeStandard;
		this.flags = flags;
		this.passwd = passwd;
		this.extend = extend;
		this.corpId = corpId;
	}

	/** full constructor */
	public VmtList(String title, short status, Integer maxMember,
			Integer accessPower, String note, String bulletin,
			String bulletinType, long createTime, long modifyTime,
			long latestTime, String encodeStandard, Integer flags,
			String passwd, String extend, Integer corpId) {
		this.title = title;
		this.status = status;
		this.maxMember = maxMember;
		this.accessPower = accessPower;
		this.note = note;
		this.bulletin = bulletin;
		this.bulletinType = bulletinType;
		this.createTime = createTime;
		this.modifyTime = modifyTime;
		this.latestTime = latestTime;
		this.encodeStandard = encodeStandard;
		this.flags = flags;
		this.passwd = passwd;
		this.extend = extend;
		this.corpId = corpId;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "mt_id", unique = true, nullable = false)
	public Integer getMtId() {
		return this.mtId;
	}

	public void setMtId(Integer mtId) {
		this.mtId = mtId;
	}

	@Column(name = "title", unique = true, nullable = false, length = 64)
	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	@Column(name = "status", nullable = false)
	public short getStatus() {
		return this.status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	@Column(name = "max_member", nullable = false)
	public Integer getMaxMember() {
		return this.maxMember;
	}

	public void setMaxMember(Integer maxMember) {
		this.maxMember = maxMember;
	}

	@Column(name = "access_power", nullable = false)
	public Integer getAccessPower() {
		return this.accessPower;
	}

	public void setAccessPower(Integer accessPower) {
		this.accessPower = accessPower;
	}

	@Column(name = "note", nullable = false, length = 16777215)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	@Column(name = "bulletin", length = 16777215)
	public String getBulletin() {
		return this.bulletin;
	}

	public void setBulletin(String bulletin) {
		this.bulletin = bulletin;
	}

	@Column(name = "bulletin_type", length = 20)
	public String getBulletinType() {
		return this.bulletinType;
	}

	public void setBulletinType(String bulletinType) {
		this.bulletinType = bulletinType;
	}

	@Column(name = "create_time", nullable = false)
	public long getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	@Column(name = "modify_time", nullable = false)
	public long getModifyTime() {
		return this.modifyTime;
	}

	public void setModifyTime(long modifyTime) {
		this.modifyTime = modifyTime;
	}

	@Column(name = "latest_time", nullable = false)
	public long getLatestTime() {
		return this.latestTime;
	}

	public void setLatestTime(long latestTime) {
		this.latestTime = latestTime;
	}

	@Column(name = "encode_standard", nullable = false, length = 20)
	public String getEncodeStandard() {
		return this.encodeStandard;
	}

	public void setEncodeStandard(String encodeStandard) {
		this.encodeStandard = encodeStandard;
	}

	@Column(name = "flags", nullable = false)
	public Integer getFlags() {
		return this.flags;
	}

	public void setFlags(Integer flags) {
		this.flags = flags;
	}

	@Column(name = "passwd", nullable = false, length = 20)
	public String getPasswd() {
		return this.passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	@Column(name = "extend", nullable = false, length = 16777215)
	public String getExtend() {
		return this.extend;
	}

	public void setExtend(String extend) {
		this.extend = extend;
	}

	@Column(name = "corp_id", nullable = false)
	public Integer getCorpId() {
		return this.corpId;
	}

	public void setCorpId(Integer corpId) {
		this.corpId = corpId;
	}

}